package com.atguigu.mybatisplus.constant;

/**
 * 日期格式化的常用日期格式常量类
 */
public class DateFormatContants {

    public static final String YYYY_MM_DD = "yyyy-MM-dd";

    public static final String HH_MM_SS = "HH:mm:ss";
// 会提示不是常量，报红
//    public static final String YYYY_MM_DD_HH_MM_SS = String.format("%s %s", YYYY_MM_DD, HH_MM_SS);

    public static final String YYYY_MM_DD_HH_MM_SS = YYYY_MM_DD + " " + HH_MM_SS;

}
